//
//  NewsTitle.h
//  19-JSON网易
//
//  Created by mafeng on 16/8/9.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NewsTitle : NSObject
@property (nonatomic, copy) NSString *news_template;
@property (nonatomic, copy) NSString *topicid;
@property (nonatomic, copy) NSString *alias;
@property (nonatomic, copy) NSString *subnum;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *cid;
@property (nonatomic, copy) NSString *recommend;
@property (nonatomic, copy) NSString *color;
@property (nonatomic, copy) NSString *tname;
@property (nonatomic, copy) NSString *ename;
@property (nonatomic, copy) NSString *showType;
@property (nonatomic, copy) NSString *tid;
@property (nonatomic, strong) NSNumber *recommendOrder;
@property (nonatomic, strong) NSNumber *isNew;
@property (nonatomic, strong) NSNumber *isHot;
@property (nonatomic, strong) NSNumber *bannerOrder;
@property (nonatomic, strong) NSNumber *special;
@property (nonatomic, assign) BOOL hasCover;
@property (nonatomic, assign) BOOL hasIcon;
@property (nonatomic, assign) BOOL headLine;

- (instancetype)initWithDic:(NSDictionary *)dic;
+ (instancetype)newsWithDic:(NSDictionary *)dic;
@end
